Permit users to select web messenger language

Last post 11-26-2008, 7:20 AM by Hidden. 3 replies.
Sort Posts: Previous Next
  •  11-21-2008, 9:34 AM 46138

    Permit users to select web messenger language

    Hi!
    "Cute Chat auto-detects Client Browser's culture setting to decide what language to use. If developers need server side control, please set CultureType to server and input the custom culture name. "
    We don't need server side control. But we need to allow users select language of web site from dropdown list.
    How can we set custom culture for cute chat and web messenger?
  •  11-21-2008, 10:56 AM 46146 in reply to 46138

    Re: Permit users to select web messenger language

    Hi,
     
    this could be implement by modifying the file 'LoadSettings.aspx'
     
    change the code
     
    NameValueCollection nvc=CuteChat.ChatWebUtility.Strings.GetValues();
     
    to :
     
    string culture=..get-the-culture-from-cookie-passed-from-another-page..
    CuteChat.ChatApi.GetStrings(culture);
     
    Maybe you need write a page before let the user enter the chat room.
     
    Regards,
    Terry
  •  11-21-2008, 12:44 PM 46150 in reply to 46146

    Re: Permit users to select web messenger language

    It works, thank you.
  •  11-26-2008, 7:20 AM 46308 in reply to 46146

    Re: Permit users to select web messenger language

    I have noticed that hints "Bold", "Italic", etc. for img elements on EmbedChannel and EmbedMessenger controls don't localize when user changes language. But other captions (send button caption for instance) are localized.
    What could we do about it?
View as RSS news feed in XML